//地区分布地图
function getChinaXml(val) {
	var date_arr =val.split("至");
	var chart = new FusionCharts("../chart/Chinamap.swf", "ChartId", "420",
			"330", "0", "0");
	jQuery.ajax({
		type : "post",
		url : "../visitarea/chinaxml?fromDate=" + date_arr[0]+"&toDate="+date_arr[1],
		success : function(msg) {
			chart.setDataXML(msg);
			chart.addParam("wmode", "transparent");
			chart.render("mapdiv");
		}
	});
}

//地区分布地图
function getvisitPieXml(val) {
	var date_arr =val.split("至");
	var chart = new FusionCharts("../chart/Pie2D.swf", "MyChartId", "370",
			"260", "0", "0");
	jQuery.ajax({
		type : "post",
		url : "../visitarea/visitpiexml?fromDate=" + date_arr[0]+"&toDate="+date_arr[1],
		success : function(msg) {
			chart.setDataXML(msg);
			chart.addParam("wmode", "transparent");
			chart.render("chartdiv");
		}
	});
}